projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55c1284
)
omap: emif: fix bug in manufacturer code test
author
Steve Sakoman
<
[email protected]
>
Wed, 30 May 2012 07:38:08 +0000
(07:38 +0000)
committer
Albert ARIBAUD
<
[email protected]
>
Sat, 7 Jul 2012 12:07:35 +0000
(14:07 +0200)
Code currently tests for <= 0xff. Micron manufacturer code is 0xff, so
Micron memory will not be detected!
Signed-off-by: Steve Sakoman <
[email protected]
>
arch/arm/cpu/armv7/omap-common/emif-common.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/omap-common/emif-common.c
b/arch/arm/cpu/armv7/omap-common/emif-common.c
index 61ade4c598705ed7efb116236e08947c8de0995b..7c2352c7fd5a22308e71bb4f995b9e4adef27729 100644
(file)
--- a/
arch/arm/cpu/armv7/omap-common/emif-common.c
+++ b/
arch/arm/cpu/armv7/omap-common/emif-common.c
@@
-947,7
+947,7
@@
static u8 is_lpddr2_sdram_present(u32 base, u32 cs,
}
mr = get_mr(base, cs, LPDDR2_MR5);
- if (mr >
=
0xFF) {
+ if (mr > 0xFF) {
/* Mode register value bigger than 8 bit */
return 0;
}